package com.our.learning.infrastructure.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 题目性质
 * @author : PanicLin
 * @date : 2023-06-17
 */
@Data
@AllArgsConstructor
@TableName("t_question_nature")
public class QuestionNature {
    //id
    private Integer id;
    // 答案
    private String answer;
    // 知识点
    private String knowledge;
    // 难易度（0，1，2）
    private Integer difficulty;
    // 章节
    private String chapter;
    // 易错点
    private String errorProne;
    // 出错率
    private String errorRate;

    public QuestionNature() {
    }

    public QuestionNature(Integer id) {
        this.id=id;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getKnowledge() {
        return knowledge;
    }

    public void setKnowledge(String knowledge) {
        this.knowledge = knowledge;
    }

    public Integer getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(Integer difficulty) {
        this.difficulty = difficulty;
    }

    public String getChapter() {
        return chapter;
    }

    public void setChapter(String chapter) {
        this.chapter = chapter;
    }

    public String getErrorProne() {
        return errorProne;
    }

    public void setErrorProne(String errorProne) {
        this.errorProne = errorProne;
    }

    public String getErrorRate() {
        return errorRate;
    }

    public void setErrorRate(String errorRate) {
        this.errorRate = errorRate;
    }
}
